import type {
  SectConfig,
  SectCultivationSpotConfig,
  SectJobConfig,
  SectScriptureHallConfig,
  SectTaskConfig,
} from '../../data/sect/type';
import type { ConditionProgress } from '../../systems/condition-checker/type';

export interface SectTaskListItem {
  config: SectTaskConfig;
  /** 是否达到领取要求 */
  canReceive: boolean;
}

export interface SectListItem {
  config: SectConfig;
  canJoin: boolean;
  conditionProgress: ConditionProgress[];
  /** 修炼场配置 */
  cultivationSpotConfig: SectCultivationSpotConfig;
  /** 任务列表配置 */
  sectTaskList: SectTaskListItem[];
}

export interface SectJobListItem {
  config: SectJobConfig;
}

/** 藏书阁功法 */
export interface SectScriptureListItem {
  config: SectScriptureHallConfig;
  /** 是否达到领取要求 */
  canReceive: boolean;
  /** 领取条件进度 */
  exchangeConditionProgress: ConditionProgress[];
}
